import request from '@/utils/request'

export function versionList(params) {
  return request({
    url: '/appVersion/versionList',
    method: 'get',
    params: params
  })
}


export function addVersion(data) {
  return request({
    url: '/appVersion/addVersion',
    method: 'post',
    data: data
  })
}


export function deleteAppVersion(id) {
  return request({
    url: '/appVersion/deleteAppVersion/' + id,
    method: 'post'
  })
}


export function updateVersion(data) {
  return request({
    url: '/appVersion/updateVersion',
    method: 'post',
    data: data
  })
}
